package com.example.user_module.room;


import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

import com.example.user_module.login.RoomUserEntity;

import java.util.List;

import io.reactivex.Maybe;

@Dao
public interface UserDao {

    @Insert
    void insert(RoomUserEntity.InsertUserValuesEntity entity);

    @Query("select * from InsertUserValuesEntity")
    Maybe<List<RoomUserEntity.InsertUserValuesEntity>> query();

}
